]> dgit.raspbian.org Git - dovecot.git/commit
[PATCH 7/7] lib-sieve: Log an info line when opening a CPU-disabled script
authorTimo Sirainen <timo.sirainen@open-xchange.com>
Wed, 3 Jun 2026 12:25:49 +0000 (12:25 +0000)
committerNoah Meyerhans <noahm@debian.org>
Wed, 16 Sep 2026 19:06:35 +0000 (15:06 -0400)
commitdd94a2b112f23407f7be9f8fac60a812be1d1d49
tree99b31d857ed712d59c4abdf303dbb7eba0bb40d9
parentb058ab0668949cb4d8076f6ee70d042d41281aaf
[PATCH 7/7] lib-sieve: Log an info line when opening a CPU-disabled script

sieve_binary_check_executable() blocks execution when a script's
persisted cumulative CPU usage already exceeds sieve_max_cpu_time, but
only logged the block at debug level. With cumulative tracking now
sticky across redeliveries via the per-user sieve-rusage file, the
script can stay blocked indefinitely until the resource_usage_timeout
decay or admin intervention; operators benefit from a per-attempt
record of that block at info level.

Promote the existing debug log to e_info and include the cumulative
CPU usage. The caller continues to emit its own error message on the
failed open (lda-sieve, imap-sieve, imap-filter-sieve plugin paths).

Gbp-Pq: Name 0007-lib-sieve-Log-an-info-line-when-opening-a-CPU-disabl.patch
pigeonhole/src/lib-sieve/sieve-binary-file.c